package com.cjzuji.rental.service;

import com.cjzuji.rental.Bean.ApiDetailRequest;
import com.cjzuji.rental.Bean.ApiQueryRequest;
import com.cjzuji.rental.Bean.OrderData;
import com.cjzuji.rental.pojo.OrdersDetailDTO;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.File;
import java.util.List;

public interface OrderService {
    void processOrders(List<OrderData> orders);

    File downLoadFile(List<OrdersDetailDTO> dataList, String outputPath);

    File getOrdersFile(String userName);

    Object getOrderList(ApiQueryRequest condition,int pageIndex, int pageSize);

    ApiDetailRequest getOrderDetail(Long orderId);

}
